package com.ctshk.rpc.season.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalTime;

/**
 * @ClassName SeasonFixedProductPackageBusReq
 * @Description: TODO
 * @Author 杨林
 * @Date 2021/3/9
 **/

@Data
@ApiModel(value="SeasonFixedProductPackageBusReq对象", description="固定套票火车票信息req")
public class SeasonFixedProductPackageBusReq  implements Serializable {

    @ApiModelProperty(value = "巴士产品id")
    private Long productId;

    @ApiModelProperty(value = "打包id")
    private Long packageId;

    @ApiModelProperty(value = "行程类型(depart：出发，return：回程)",required = true)
    @NotNull(message = "行程类型不能为空")
    private String tripType;

    @ApiModelProperty(value = "巴士公司id",required = true)
    @NotNull(message = "巴士公司id不能为空")
    private Long companyId;

    @ApiModelProperty(value = "巴士公司名称",required = true)
    @NotNull(message = "巴士公司不能为空")
    private String companyName;

    @ApiModelProperty(value = "班次码",required = true)
    @NotNull(message = "班次码不能为空")
    private String shiftCode;

    @ApiModelProperty(value = "出发城市id",required = true)
    @NotNull(message = "出发城市id不能为空")
    private Long depCityId;

    @ApiModelProperty(value = "出发城市名称",required = true)
    @NotNull(message = "出发城市名称不能为空")
    private String depCityName;

    @ApiModelProperty(value = "到达城市id",required = true)
    @NotNull(message = "到达城市id不能为空")
    private Long arrCityId;

    @ApiModelProperty(value = "到达城市名称",required = true)
    @NotNull(message = "到达城市不能为空")
    private String arrCityName;

    @ApiModelProperty(value = "出发时间",required = true)
    @NotNull(message = "出发时间不能为空")
    private LocalTime depTime;

    @ApiModelProperty(value = "适用人群id",required = true)
    private Long applicableCrowdId;

    @ApiModelProperty(value = "适用人群名称",required = true)
    private String applicableCrowdName;

    @ApiModelProperty(value = "供应商id",required = true)
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称",required = true)
    private String supplierName;

    @ApiModelProperty(value = "是否默认 0 不是 1 是",required = true)
    private Integer isDefault;
}
